// 社群相关接口
import http from "../../../common/http.js"

export default {
	goods: (data,needLoading) => {
		return http.GET('/mch/admin/goods/edit', data,needLoading) 
	},
	list: (data,needLoading) => {
		return http.GET('/mch/admin/goods/list', data,needLoading) 
	},
	catList: (data,needLoading) => {
		return http.GET('/mch/admin/goods/cat-list', data,needLoading) 
	},
	catSave: (data,needLoading) => {
		return http.POST('/mch/admin/goods/cat-save', data,needLoading) 
	},
	save: (data,needLoading) => {
		return http.POST('/mch/admin/goods/save', data,needLoading) 
	},
	status: (data,needLoading) => {
		return http.GET('/mch/admin/goods/status', data,needLoading) 
	}
}